<form action="" class="form-horizontal" role="form">
  <div class="form-group">
    <label class="col-sm-2 control-label">模板名称</label>
    <div class="col-sm-2">
      <input type="text" class="form-control" name="name" placeholder="" datatype="*" value="{$themeTpl['name']}">
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">模板文件</label>
    <div class="col-sm-2">
      <input type="text" class="form-control" name="file" placeholder="" datatype="*" value="{$themeTpl['file']}">
    </div>
  </div>
  <div class="form-group">
    <label class="col-sm-2 control-label">模板文件</label>
    <div class="col-sm-2">
       <select name="type" class="form-control">{$themeTpl['typeOptions']}</select>
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-8">
      <input type="hidden" value="{$themeTpl['themeTplAuth']['theme']}" name="theme" /><!-- 隶属主题 -->
      <input type="hidden" value="{$themeTpl['id']}" name="id"/>
      <button type="submit" class="btn btn-primary" data-loading-txt="提交中，请稍后……" data-ajax-url="__CONTROLLER__/save">保存更改</button>
    </div>
  </div>
</form>